import Vue from "vue";

import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import store from "./store";
import "./plugins/element.js";
// swiper
import VueAwesomeSwiper from "vue-awesome-swiper";
import "swiper/swiper-bundle.css";

// 全局引用头部尾部详情页左侧导航
import Header from "./components/Header.js";
import Headerbg from "./components/Headerbg.js";
import Foot from "./components/Foot.js";
import detalisNav from "./components/detalisNav.js";

Vue.use(Header); // 使用全局组件
Vue.use(Foot); // 使用全局组件
Vue.use(Headerbg); // 使用全局组件
Vue.use(detalisNav);
// 全局引用头部
Vue.config.productionTip = false;

// swiper
Vue.use(VueAwesomeSwiper);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
